import request from '@/utils/request'

export default {

    // 创建当天的统计数据
    createStaData(dqrq) {
        return request({
            url: `/statistics/statistics-daily/createRegisterCount?dqrq=${dqrq}`,
            method: "get"
        })
    },

    // 得到时间段内的统计数据
    getDataSta(searchObj) {

        return request({
            url: `/statistics/statistics-daily/getRegisterCounter?kssj=${searchObj.begin}&jssj=${searchObj.end}`,
            method: "get"
        })
    }
}